package com.house.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.*;
import com.house.framework.entity.BaseEntity;
import java.util.*;
import java.io.Serializable;
import java.util.*;
import java.time.LocalDateTime;
import java.util.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
* <p>
* 公告表
* </p>
*
* @since 2023-05-09
*/
@Getter
@Setter
@TableName("t_notice")
@ApiModel(value = "Notice对象", description = "公告表")
public class Notice extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公告表主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("公告内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("发布者id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("发布者")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("发布时间")
    @TableField("release_time")
    private Date releaseTime;


}
